<#macro footer>
	<#if m_site.m_user??>
		<div class="logout cf">
			<a class="left" href="<@spring.url '/account' />">
				<u>
					<#if m_site.m_user.privileges == 1>
						logged as: <span>admin</span>
					</#if>
					<#if m_site.m_user.privileges == 2>
						logged as: <span>guest</span>
					</#if>
				</u>
			</a>
			<a href="${contextRoot}/logout" class="btn right btn-default">log out</a>
		</div>
	</#if>
</#macro>